<?php
//
// VERIFICATION EN LIVE DU PSEUDO
//

// CONNECION SQL
include("../includes/pdo.inc.php");

if(isset($_GET['email'])){
	// VERIFICATION
	$result = $pdo->prepare("SELECT membre_email FROM forum_membres WHERE membre_email=?");
	$result->execute(array($_GET['email']));
	
	if($result->rowCount() < 1)
	echo '0';
		else
	echo '1';
}else{
	echo -1;
}
?>
